package model.recipe;

import java.sql.SQLException;

import com.ibatis.sqlmap.client.SqlMapClient;

public class RecipeDao {
	private SqlMapClient sqlMapClient;

	public RecipeDao(SqlMapClient sqlMapClient) {
		super();
		this.sqlMapClient = sqlMapClient;
	}
	
	public String getDate() throws SQLException{
		return (String) sqlMapClient.queryForObject("recipe.getDate");
	}
}
